package user;

import book.BookList;
import operation.Ioperation;

public abstract class User {  //抽象类
   protected Ioperation[] ioperations;

    public abstract int menu();  //抽象方法
    public void doperation(int choice, BookList bookList){
        ioperations[choice].work(bookList);
    }

}
